﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class IronTask:Npc 
    {
        private string Item;
        public IronTask(string name, NpcType type, string Item) : base(name, type)
        {
            this.Item = Item;
        }

        public override void speck()
        {
            Console.WriteLine("NPC:{0},我能为你做的:{1}", base.Name, this.Item);
        }
    }
}
